home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Hity z okladki / Anarchy Online 17.0 / data1.cab / Anarchy_Online_Files / cd_image / twk / Tweak_GAME.txt < prev    next >
Text File  |  2006-12-13  |  4KB  |  84 lines

  1. #
  2. # GFX tweak file
  3. # ---------------
  4. #
  5.  
  6. !include { Tweak_DebugMonitor.txt }
  7.  
  8. Object GAME
  9. {
  10.   Unsigned FXID:               e_GameInterfaceObject
  11.   Unsigned Use:                e_Automatic
  12.  
  13.   #
  14.   # The following values are written to by the game.
  15.   # 
  16.   Unsigned    SetRenderEngine:        e_RenderEngine_Default  # Which rendering engine to use
  17.   Float       GameDayTime:            0                  # Time of day, ranges from 0.0 to 27 * 60 * 4
  18.   Quaternion  GameSun1Rotation:       q( 0,1,0,0 )          # Rotational position of sun 1
  19.   Quaternion  GameSun2Rotation:       q( 0,1,0,0 )          # Rotational position of sun 2
  20.   Float       CloudTranspariency:     0                  # How much we can see through thick clouds
  21.   Float       ThickCloudsIntensity:   0                  # How visible thick clouds are
  22.   Float       HighAltitudeWindX:      0                  # High altitude wind force in X direction
  23.   Float       HighAltitudeWindZ:      0                  # High altitude wind force in Z direction
  24.   Float       OffsetFromHQ_X:         0                  # Relative position from Omni-HQ in X plane
  25.   Float       OffsetFromHQ_Z:         0                  # Relative position from Omni-HQ in Z plane
  26.   Float       GameDeltaTime:          0                  # Time used on previous frame in game
  27.   Vector      GameCameraPosition:     v( 0,0,0 )          # Position of camera
  28.   Quaternion  GameCameraRotation:     q( 0,1,0,0 )          # Rotation of camera
  29.   Float       GameWaveCurve0:         0                  # Sin/cos wave
  30.   Float       GameWaveCurve1:         0                  # Sin/cos wave
  31.   Float       GameWaveCurve2:         0                  # Sin/cos wave
  32.   Float       GameWaveCurve3:         0                  # Sin/cos wave
  33.   Float       GameWaveCurve4:         0                  # Sin/cos wave
  34.   Float       GameWaveCurve5:         0                  # Sin/cos wave
  35.   Float       GameWaveCurve6:         0                  # Sin/cos wave
  36.   Float       GameWaveCurve7:         0                  # Sin/cos wave
  37.   Float       GameWaveCurve8:         0                  # Sin/cos wave
  38.   Float       GameWaveCurve9:         0                  # Sin/cos wave
  39.   Float       GameWaveCurve10:        0                  # Sin/cos wave
  40.   Float       GameWaveCurve11:        0                  # Sin/cos wave
  41.   Float       GameWaveCurve12:        0                  # Sin/cos wave
  42.   Float       GameWaveCurve13:        0                  # Sin/cos wave
  43.   Float       GameWaveCurve14:        0                  # Sin/cos wave
  44.   Float       GameWaveCurve15:        0                  # Sin/cos wave
  45.   Vector      LowAltitudeWind:        v( 0,0,0 )          # Wind direction at low altitude
  46.   Float       GameStormIntensity:     0                  # Current storm intensity
  47.   Float       GamePrecipitationIntensity:  0              # Current precipitation intensity
  48.   Vector      GameSunDirection:       v( 0,0,0 )          # Direction of sun
  49.   Float       GameShowSpaceship       0                  # 1.0 if to show spaceships, 0.0 if not.
  50.   Unsigned    SystemTime              0u                      # Time in seconds since 1970
  51.   Float       SystemSecond            0                       # Current second, a value between 0.0 and 1.0
  52.  
  53.   #
  54.   # The following are interface values, used in order to be able to
  55.   # freeze time for all scripts.
  56.   #
  57.   Float       CurrentDayTime:         This.GameDayTime
  58.   Float       DayTimeForGroundShadows This.GameDayTime * 15 
  59.   Float       DayTimeFactor:          This.CurrentDayTime / 6480 #* 10 % 1
  60.  
  61.   Float       DayIntensity [5]        0.0, 0.0, 1.0, 1.0, 0.0
  62.   Float       NightIntensity [5]      1.0, 1.0, 0.0, 0.0, 1.0
  63.  
  64.   Float       CurrentDayIntensity:    This.DayIntensity[This.DayTimeFactor]
  65.   Float       CurrentNightIntensity:  This.NightIntensity[This.DayTimeFactor]
  66.  
  67.   Quaternion  Sun1Rotation:           This.GameSun1Rotation
  68.   Quaternion  Sun2Rotation:           This.GameSun2Rotation
  69.  
  70.   Vector      Unit1ZDirection:        v( 0,0,1 )
  71.   Vector      TweakedSunDirection:    This.Unit1ZDirection [ROT] This.Sun1Rotation
  72.  
  73.   Vector      UpDirection             v( 0,1,0 )
  74.   Vector      ForwardDirection        v( 0,0,1 )
  75.   Vector      CutY                    v( 1,0,1 )
  76.   Vector      CutXY                   v( 0,0,1 )
  77.   Vector      CutZY                   v( 1,0,0 )
  78.  
  79.   Unsigned    RenderEngine          This.SetRenderEngine
  80.  
  81.   String      ScriptSpawnDest         "DESTINATION_ENVIRONMENT"
  82.   String      ScriptSpawnPacket          "PACKET_TYPE_FXS_SCRIPT"
  83. }
  84.